/*
 * Copyright 2008 Jens Meiss
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.googlecode.hmvc4gwt.example.hmvcblog.frontend.dashboard.client.edit.userdata;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Grid;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.PasswordTextBox;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.googlecode.hmvc4gwt.client.view.AViewGwt;

/**
 * 
 * @author jens.meiss
 */
public class EditUserDataView extends AViewGwt {

	private Label labelTitle;

	private Grid gridUserData;

	private Label labelLogin;

	private Label labelForename;

	private Label labelSurename;

	private Label labelEMail;

	private Label labelPassword;

	private Label labelPasswordEmpty;

	private Label labelEMailInvalid;

	private TextBox textBoxLogin;

	private TextBox textBoxForename;

	private TextBox textBoxSurename;

	private TextBox textBoxEMail;

	private PasswordTextBox textBoxPassword;

	private Button buttonSave;

	private Button buttonCancel;

	private HorizontalPanel horizontalPanelButtons;

	private VerticalPanel verticalPanelEditUserData;

	/**
	 * @return the buttonCancel
	 */
	public Button getButtonCancel() {
		return buttonCancel;
	}

	/**
	 * @return the buttonSave
	 */
	public Button getButtonSave() {
		return buttonSave;
	}

	/**
	 * @return the gridEditUserData
	 */
	public Grid getGridUserData() {
		return gridUserData;
	}

	/**
	 * @return the horizontalPanelButtons
	 */
	public HorizontalPanel getHorizontalPanelButtons() {
		return horizontalPanelButtons;
	}

	/**
	 * @return the labelEMail
	 */
	public Label getLabelEMail() {
		return labelEMail;
	}

	/**
	 * @return the labelEMailInvalid
	 */
	public Label getLabelEMailInvalid() {
		return labelEMailInvalid;
	}

	/**
	 * @return the labelForename
	 */
	public Label getLabelForename() {
		return labelForename;
	}

	/**
	 * @return the labelLogin
	 */
	public Label getLabelLogin() {
		return labelLogin;
	}

	/**
	 * @return the labelPassword
	 */
	public Label getLabelPassword() {
		return labelPassword;
	}

	/**
	 * @return the labelPasswordEmpty
	 */
	public Label getLabelPasswordEmpty() {
		return labelPasswordEmpty;
	}

	/**
	 * @return the labelSurename
	 */
	public Label getLabelSurename() {
		return labelSurename;
	}

	/**
	 * @return the labelTitle
	 */
	public Label getLabelTitle() {
		return labelTitle;
	}

	/**
	 * @return the textBoxEMail
	 */
	public TextBox getTextBoxEMail() {
		return textBoxEMail;
	}

	/**
	 * @return the textBoxForename
	 */
	public TextBox getTextBoxForename() {
		return textBoxForename;
	}

	/**
	 * @return the textBoxLogin
	 */
	public TextBox getTextBoxLogin() {
		return textBoxLogin;
	}

	/**
	 * @return the textboxPassword
	 */
	public PasswordTextBox getTextBoxPassword() {
		return textBoxPassword;
	}

	/**
	 * @return the textBoxSurename
	 */
	public TextBox getTextBoxSurename() {
		return textBoxSurename;
	}

	/**
	 * @return the verticalPanelEditUserData
	 */
	public VerticalPanel getVerticalPanelEditUserData() {
		return verticalPanelEditUserData;
	}

	public Widget getWidget() {
		return getVerticalPanelEditUserData();
	}

	/**
	 * @param buttonCancel
	 *            the buttonCancel to set
	 */
	public void setButtonCancel(Button buttonCancel) {
		this.buttonCancel = buttonCancel;
	}

	/**
	 * @param buttonSave
	 *            the buttonSave to set
	 */
	public void setButtonSave(Button buttonSave) {
		this.buttonSave = buttonSave;
	}

	/**
	 * @param gridEditUserData
	 *            the gridEditUserData to set
	 */
	public void setGridUserData(Grid gridEditUserData) {
		this.gridUserData = gridEditUserData;
	}

	/**
	 * @param horizontalPanelButtons
	 *            the horizontalPanelButtons to set
	 */
	public void setHorizontalPanelButtons(HorizontalPanel horizontalPanelButtons) {
		this.horizontalPanelButtons = horizontalPanelButtons;
	}

	/**
	 * @param labelEMail
	 *            the labelEMail to set
	 */
	public void setLabelEMail(Label labelEMail) {
		this.labelEMail = labelEMail;
	}

	/**
	 * @param labelEMailInvalid
	 *            the labelEMailInvalid to set
	 */
	public void setLabelEMailInvalid(Label labelEMailInvalid) {
		this.labelEMailInvalid = labelEMailInvalid;
	}

	/**
	 * @param labelForename
	 *            the labelForename to set
	 */
	public void setLabelForename(Label labelForename) {
		this.labelForename = labelForename;
	}

	/**
	 * @param labelLogin
	 *            the labelLogin to set
	 */
	public void setLabelLogin(Label labelLogin) {
		this.labelLogin = labelLogin;
	}

	/**
	 * @param labelPassword
	 *            the labelPassword to set
	 */
	public void setLabelPassword(Label labelPassword) {
		this.labelPassword = labelPassword;
	}

	/**
	 * @param labelPasswordEmpty
	 *            the labelPasswordEmpty to set
	 */
	public void setLabelPasswordEmpty(Label labelPasswordEmpty) {
		this.labelPasswordEmpty = labelPasswordEmpty;
	}

	/**
	 * @param labelSurename
	 *            the labelSurename to set
	 */
	public void setLabelSurename(Label labelSurename) {
		this.labelSurename = labelSurename;
	}

	/**
	 * @param labelTitle
	 *            the labelTitle to set
	 */
	public void setLabelTitle(Label labelTitle) {
		this.labelTitle = labelTitle;
	}

	/**
	 * @param textBoxEMail
	 *            the textBoxEMail to set
	 */
	public void setTextBoxEMail(TextBox textBoxEMail) {
		this.textBoxEMail = textBoxEMail;
	}

	/**
	 * @param textBoxForename
	 *            the textBoxForename to set
	 */
	public void setTextBoxForename(TextBox textBoxForename) {
		this.textBoxForename = textBoxForename;
	}

	/**
	 * @param textBoxLogin
	 *            the textBoxLogin to set
	 */
	public void setTextBoxLogin(TextBox textBoxLogin) {
		this.textBoxLogin = textBoxLogin;
	}

	/**
	 * @param textboxPassword
	 *            the textboxPassword to set
	 */
	public void setTextBoxPassword(PasswordTextBox textboxPassword) {
		this.textBoxPassword = textboxPassword;
	}

	/**
	 * @param textBoxSurename
	 *            the textBoxSurename to set
	 */
	public void setTextBoxSurename(TextBox textBoxSurename) {
		this.textBoxSurename = textBoxSurename;
	}

	/**
	 * @param verticalPanelEditUserData
	 *            the verticalPanelEditUserData to set
	 */
	public void setVerticalPanelEditUserData(
			VerticalPanel verticalPanelEditUserData) {
		this.verticalPanelEditUserData = verticalPanelEditUserData;
	}

}
